A student who has met the objectives of the session will be able to:
Prepare a simple shiny application
Using relevant online resources to autonomously identify and obtain new and expand on existing knowledge of R
golem and modules for shiny app developmentUser Interface (Front end)
Server (Back end)
“The user interface (UI) is the point at which human users interact with a computer, website or application.”
“The goal of effective UI is to make the user’s experience easy and intuitive, requiring minimum effort on the user’s part to receive maximum desired outcome.”
- source
When you know the purpose of your app, the first place to start is to think about the app layout.
For inspiration either use:
Or the Shiny Cheat Sheet
Imperative: Issued commands are executed immediately
Declarative: You set a high-level goal or describe a set of constraints to be translated into actions later
“With imperative code you say ‘Make me a sandwich’.”
“With declarative code you say ‘Ensure there is a sandwich in the refrigerator whenever I look inside of it’”
- source
Shiny translates your declared goals and constraints only when necessary.
What are the benefits and issues with declarative programming?
- source
golem
- source
golem?
- source
Breaks the application into bite size pieces
Helps you have a mental model of the application
But isn’t it complicated?
Let me show you..
R for Bio Data Science